:root {
 --main-color:  #141B34;
;
  --second-color: #222222BF;
  --third-color-heavy:  #FF5900;
;
  --third-color-light: #E34F00;
  --fourth-color: #FF5900;
  --bg:#dff3eb;
}

/* Utility background color classes */
.bg-main {
  background-color: var(--main-color) !important;
}

.bg-second {
  background-color: var(--second-color) !important;
}

.bg-third-heavy {
  background-color: var(--third-color-heavy) !important;
}

.bg-third-light {
  background-color: var(--third-color-light) !important;
}

.bg-fourth {
  background-color: var(--fourth-color) !important;
}

/* Utility text color classes */
.text-main {
  color: var(--main-color) !important;
}

.text-second {
  color: var(--second-color) !important;
}

.text-third-heavy {
  color: var(--third-color-heavy) !important;
}

.text-third-light {
  color: var(--third-color-light) !important;
}

.text-fourth {
  color: var(--fourth-color) !important;
}

body {
  direction: rtl;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* Minimum height of the viewport */


}

main {
  flex-grow: 1;
  /* Allows main content to expand and push footer to bottom */
}

/* Optional: Style the footer to stick to the bottom */
footer {
  flex-shrink: 0;
  /* Prevents footer from shrinking */
  width: 100%;
  /* Full width */
}

.footer-rounded {
  border-radius: 100px;
}

* {

  box-sizing: border-box;


}

@font-face {
  font-family: "MadaniArabic";
  src: url("./web/fonts/IBMPlexSansArabic-Regular.ttf") format("truetype");
  font-weight: 300;
}

@font-face {
  font-family: "MadaniArabic";
  src: url("./web/fonts/IBMPlexSansArabic-Light.ttf") format("truetype");
  font-weight: 100;
}

@font-face {
  font-family: "MadaniArabic";
  src: url("./web/fonts/IBMPlexSansArabic-Medium.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "MadaniArabic";
  src: url("./web/fonts/IBMPlexSansArabic-Bold.ttf") format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: "MadaniArabic";
  src: url("./web/fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype");
  font-weight: 800;
}



html,
body {
  font-family: "MadaniArabic", sans-serif;
  font-weight: 300;
  color: #000000;
font-size: 16px;
}
@media (max-width:456px) {
  html{
    font-size: 14px;
  }
}
a {}

/* background gradient */
.gradient {
  padding-top: 88px;
  background: var(--bg);
}

/* pages top padding because navbar height */
.pages-top-padding {
  padding-top: 100px;
}

.custom-btn {
  font-size: 14px;
  border-radius: 12px;
  font-weight: 600;
  background-color: var(--third-color-heavy);
  color: white;
 
  transition: all 0.3s ease;
}

.custom-btn:hover {
  background-color: var(--third-color-light);
  color: white;
  border-bottom: 4px solid var(--third-color-heavy);
  transform: scale(1.01);
}
.second-btn {
  font-size: 14px;
  border-radius: 12px;
  font-weight: 600;
  background-color: transparent;
  color: var(--third-color-heavy);
  border: 2px solid var(--third-color-heavy);
  transition: all 0.3s ease;
}
.second-btn:hover {
  background-color: transparent;
  color: var(--third-color-heavy);
  border: 2px solid var(--third-color-light);
  transform: scale(1.01);
}
.navy-btn {
  background-color: white;
  color: var(--third-color-light);
  border-bottom: 4px solid #E5E5E5;
      box-shadow: 0px 0px 4px 0px #f9f2f2;
  transition: all 0.3s ease;
}

.navy-btn:hover {
  background-color: white;
  color: var(--third-color-light);
  border-bottom: 4px solid var(--main-color);
  transform: scale(1.01);
}

/* ==== */
.muted-price {
  position: relative;
}

.muted-price::after {
  content: "";
  position: absolute;
  top: 55%;
  right: 0px;
  width: 100%;
  height: .4px;
  background-color: rgba(0, 0, 0, 0.467);
  transform: translateY(-50%);

}
/* * Modern Lesson Card Styles - Exact Match Design */

.modern-lesson-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.25rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* PDF Card Styles */
.pdf-lesson-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pdf-card-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.pdf-card-content {
    flex: 1;
}

.pdf-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1E40AF;
    margin: 0 0 0.25rem 0;
    direction: rtl;
    text-align: right;
}

.pdf-card-subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6B7280;
    margin: 0;
    direction: ltr;
    text-align: right;
}

.pdf-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #EFF6FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3B82F6;
    font-size: 1.5rem;
}

.pdf-card-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-pdf {
    background: #10B981;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-view-pdf:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-download-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #F3F4F6;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3B82F6;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download-icon:hover {
    background: #E5E7EB;
}
.pdf-date{
        position: absolute;
    top: -16px;
    background: var(--third-color-heavy);
    padding: .25rem .8rem;
    border-radius: 12px;
    color: white;
    right: 15px;
    font-size: .8rem;
}
/* footer style */
.footer{

}
.footer h5{
  color: var(--third-color-heavy);
}
.footer ul{
  padding: 0px;
}
.footer li ,.footer li a{

  color: var(--main-color) !important;
  text-decoration: none;
}
/* ;;;;;;;;;;;;; */
footer .social img {
  width: 40px;
  height: 40px;
}

.actions {
  height: fit-content;

  width: 100%;
}



.najez {
  font-size: 12px;
}

.najez a {

  color: var(--third-color-light);

}

/*  */
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: none;
  /* hidden by default */
  z-index: 1000;
  width: 45px;
  background-color: var(--third-color-heavy);
  height: 45px;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#scrollTopBtn:hover {
  background-color: var(--third-color-light);
  color: white;
  transform: scale(1.1);
}

/* ------------------------------------------------------------ */
/* For the entire page */
::-webkit-scrollbar {
  width: 10px;
  /* Width of vertical scrollbar */
  height: 8px;
  /* Height of horizontal scrollbar */
}

/* Track (background of scrollbar) */
::-webkit-scrollbar-track {
  background: #efefef;
  border-radius: 10px;
}

/* Thumb (the draggable part) */
::-webkit-scrollbar-thumb {
  background: var(--third-color-heavy);
  /* Or any color you like */
  border-radius: 10px;
}

/* On hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--third-color-light);
}
/* whats app plugin  */
.whats-float {
    position: fixed;
    right: 20px;
    bottom: 113px;
    width: 50px;
    height: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    cursor: pointer;
    overflow: hidden;
    background-color: #25d366;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.5s ease-in-out;
    vertical-align: middle;

    /* Pulse effect */
    animation: pulse 2s infinite;
}

.whats-float i {
    font-size: 30px;
    color: white;
    line-height: 50px;
    transform: rotate(0deg);
    transition: all 0.5s ease-in-out;
    text-align: center;
    font-weight: bolder;
}

/* Hover spin */
.whats-float:hover i {
    transform: rotate(360deg);
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
